package cc.hexie.fish.pojo;

import org.springframework.stereotype.Service;

import java.util.Date;

@Service
public class AccountBean {
    int id;
    String name;
    Double money;
    Date create_time;
    Date last_modefied;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Double getMoney() {
        return money;
    }

    public void setMoney(Double money) {
        this.money = money;
    }

    public Date getCreate_time() {
        return create_time;
    }

    public void setCreate_time(Date create_time) {
        this.create_time = create_time;
    }

    public Date getLast_modefied() {
        return last_modefied;
    }

    public void setLast_modefied(Date last_modefied) {
        this.last_modefied = last_modefied;
    }

    @Override
    public String toString() {
        return "AccountBean{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", money=" + money +
                ", create_time=" + create_time.toString() +
                ", last_modefied=" + last_modefied.toString() +
                '}';
    }
}
